package com.warm.pump.module.skd.bean.po.gen;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class ScheduleLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int limitOffset = -1;

    public ScheduleLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitOffset(int limitOffset) {
        this.limitOffset=limitOffset;
    }

    public int getLimitOffset() {
        return limitOffset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }



        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "Id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "Id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "Id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "Id");
            return (Criteria) this;
        }
        public Criteria andInstanceIdIsNull() {
            addCriterion("instance_id is null");
            return (Criteria) this;
        }

        public Criteria andInstanceIdIsNotNull() {
            addCriterion("instance_id is not null");
            return (Criteria) this;
        }

        public Criteria andInstanceIdEqualTo(String value) {
            addCriterion("instance_id =", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdNotEqualTo(String value) {
            addCriterion("instance_id <>", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdGreaterThan(String value) {
            addCriterion("instance_id >", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdGreaterThanOrEqualTo(String value) {
            addCriterion("instance_id >=", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdLessThan(String value) {
            addCriterion("instance_id <", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdLessThanOrEqualTo(String value) {
            addCriterion("instance_id <=", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdLike(String value) {
            addCriterion("instance_id like", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdNotLike(String value) {
            addCriterion("instance_id not like", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdIn(List<String> values) {
            addCriterion("instance_id in", values, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdNotIn(List<String> values) {
            addCriterion("instance_id not in", values, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdBetween(String value1, String value2) {
            addCriterion("instance_id between", value1, value2, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdNotBetween(String value1, String value2) {
            addCriterion("instance_id not between", value1, value2, "InstanceId");
            return (Criteria) this;
        }
        public Criteria andInstanceDtlIdIsNull() {
            addCriterion("instance_dtl_id is null");
            return (Criteria) this;
        }

        public Criteria andInstanceDtlIdIsNotNull() {
            addCriterion("instance_dtl_id is not null");
            return (Criteria) this;
        }

        public Criteria andInstanceDtlIdEqualTo(Long value) {
            addCriterion("instance_dtl_id =", value, "InstanceDtlId");
            return (Criteria) this;
        }

        public Criteria andInstanceDtlIdNotEqualTo(Long value) {
            addCriterion("instance_dtl_id <>", value, "InstanceDtlId");
            return (Criteria) this;
        }

        public Criteria andInstanceDtlIdGreaterThan(Long value) {
            addCriterion("instance_dtl_id >", value, "InstanceDtlId");
            return (Criteria) this;
        }

        public Criteria andInstanceDtlIdGreaterThanOrEqualTo(Long value) {
            addCriterion("instance_dtl_id >=", value, "InstanceDtlId");
            return (Criteria) this;
        }

        public Criteria andInstanceDtlIdLessThan(Long value) {
            addCriterion("instance_dtl_id <", value, "InstanceDtlId");
            return (Criteria) this;
        }

        public Criteria andInstanceDtlIdLessThanOrEqualTo(Long value) {
            addCriterion("instance_dtl_id <=", value, "InstanceDtlId");
            return (Criteria) this;
        }

        public Criteria andInstanceDtlIdIn(List<Long> values) {
            addCriterion("instance_dtl_id in", values, "InstanceDtlId");
            return (Criteria) this;
        }

        public Criteria andInstanceDtlIdNotIn(List<Long> values) {
            addCriterion("instance_dtl_id not in", values, "InstanceDtlId");
            return (Criteria) this;
        }

        public Criteria andInstanceDtlIdBetween(Long value1, Long value2) {
            addCriterion("instance_dtl_id between", value1, value2, "InstanceDtlId");
            return (Criteria) this;
        }

        public Criteria andInstanceDtlIdNotBetween(Long value1, Long value2) {
            addCriterion("instance_dtl_id not between", value1, value2, "InstanceDtlId");
            return (Criteria) this;
        }
        public Criteria andWorkSubjectIdIsNull() {
            addCriterion("work_subject_id is null");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectIdIsNotNull() {
            addCriterion("work_subject_id is not null");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectIdEqualTo(Long value) {
            addCriterion("work_subject_id =", value, "WorkSubjectId");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectIdNotEqualTo(Long value) {
            addCriterion("work_subject_id <>", value, "WorkSubjectId");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectIdGreaterThan(Long value) {
            addCriterion("work_subject_id >", value, "WorkSubjectId");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectIdGreaterThanOrEqualTo(Long value) {
            addCriterion("work_subject_id >=", value, "WorkSubjectId");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectIdLessThan(Long value) {
            addCriterion("work_subject_id <", value, "WorkSubjectId");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectIdLessThanOrEqualTo(Long value) {
            addCriterion("work_subject_id <=", value, "WorkSubjectId");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectIdIn(List<Long> values) {
            addCriterion("work_subject_id in", values, "WorkSubjectId");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectIdNotIn(List<Long> values) {
            addCriterion("work_subject_id not in", values, "WorkSubjectId");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectIdBetween(Long value1, Long value2) {
            addCriterion("work_subject_id between", value1, value2, "WorkSubjectId");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectIdNotBetween(Long value1, Long value2) {
            addCriterion("work_subject_id not between", value1, value2, "WorkSubjectId");
            return (Criteria) this;
        }
        public Criteria andWorkSubjectNameIsNull() {
            addCriterion("work_subject_name is null");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameIsNotNull() {
            addCriterion("work_subject_name is not null");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameEqualTo(String value) {
            addCriterion("work_subject_name =", value, "WorkSubjectName");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameNotEqualTo(String value) {
            addCriterion("work_subject_name <>", value, "WorkSubjectName");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameGreaterThan(String value) {
            addCriterion("work_subject_name >", value, "WorkSubjectName");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("work_subject_name >=", value, "WorkSubjectName");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameLessThan(String value) {
            addCriterion("work_subject_name <", value, "WorkSubjectName");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameLessThanOrEqualTo(String value) {
            addCriterion("work_subject_name <=", value, "WorkSubjectName");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameLike(String value) {
            addCriterion("work_subject_name like", value, "WorkSubjectName");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameNotLike(String value) {
            addCriterion("work_subject_name not like", value, "WorkSubjectName");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameIn(List<String> values) {
            addCriterion("work_subject_name in", values, "WorkSubjectName");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameNotIn(List<String> values) {
            addCriterion("work_subject_name not in", values, "WorkSubjectName");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameBetween(String value1, String value2) {
            addCriterion("work_subject_name between", value1, value2, "WorkSubjectName");
            return (Criteria) this;
        }

        public Criteria andWorkSubjectNameNotBetween(String value1, String value2) {
            addCriterion("work_subject_name not between", value1, value2, "WorkSubjectName");
            return (Criteria) this;
        }
        public Criteria andWorkIdIsNull() {
            addCriterion("work_id is null");
            return (Criteria) this;
        }

        public Criteria andWorkIdIsNotNull() {
            addCriterion("work_id is not null");
            return (Criteria) this;
        }

        public Criteria andWorkIdEqualTo(Long value) {
            addCriterion("work_id =", value, "WorkId");
            return (Criteria) this;
        }

        public Criteria andWorkIdNotEqualTo(Long value) {
            addCriterion("work_id <>", value, "WorkId");
            return (Criteria) this;
        }

        public Criteria andWorkIdGreaterThan(Long value) {
            addCriterion("work_id >", value, "WorkId");
            return (Criteria) this;
        }

        public Criteria andWorkIdGreaterThanOrEqualTo(Long value) {
            addCriterion("work_id >=", value, "WorkId");
            return (Criteria) this;
        }

        public Criteria andWorkIdLessThan(Long value) {
            addCriterion("work_id <", value, "WorkId");
            return (Criteria) this;
        }

        public Criteria andWorkIdLessThanOrEqualTo(Long value) {
            addCriterion("work_id <=", value, "WorkId");
            return (Criteria) this;
        }

        public Criteria andWorkIdIn(List<Long> values) {
            addCriterion("work_id in", values, "WorkId");
            return (Criteria) this;
        }

        public Criteria andWorkIdNotIn(List<Long> values) {
            addCriterion("work_id not in", values, "WorkId");
            return (Criteria) this;
        }

        public Criteria andWorkIdBetween(Long value1, Long value2) {
            addCriterion("work_id between", value1, value2, "WorkId");
            return (Criteria) this;
        }

        public Criteria andWorkIdNotBetween(Long value1, Long value2) {
            addCriterion("work_id not between", value1, value2, "WorkId");
            return (Criteria) this;
        }
        public Criteria andWorkNameIsNull() {
            addCriterion("work_name is null");
            return (Criteria) this;
        }

        public Criteria andWorkNameIsNotNull() {
            addCriterion("work_name is not null");
            return (Criteria) this;
        }

        public Criteria andWorkNameEqualTo(String value) {
            addCriterion("work_name =", value, "WorkName");
            return (Criteria) this;
        }

        public Criteria andWorkNameNotEqualTo(String value) {
            addCriterion("work_name <>", value, "WorkName");
            return (Criteria) this;
        }

        public Criteria andWorkNameGreaterThan(String value) {
            addCriterion("work_name >", value, "WorkName");
            return (Criteria) this;
        }

        public Criteria andWorkNameGreaterThanOrEqualTo(String value) {
            addCriterion("work_name >=", value, "WorkName");
            return (Criteria) this;
        }

        public Criteria andWorkNameLessThan(String value) {
            addCriterion("work_name <", value, "WorkName");
            return (Criteria) this;
        }

        public Criteria andWorkNameLessThanOrEqualTo(String value) {
            addCriterion("work_name <=", value, "WorkName");
            return (Criteria) this;
        }

        public Criteria andWorkNameLike(String value) {
            addCriterion("work_name like", value, "WorkName");
            return (Criteria) this;
        }

        public Criteria andWorkNameNotLike(String value) {
            addCriterion("work_name not like", value, "WorkName");
            return (Criteria) this;
        }

        public Criteria andWorkNameIn(List<String> values) {
            addCriterion("work_name in", values, "WorkName");
            return (Criteria) this;
        }

        public Criteria andWorkNameNotIn(List<String> values) {
            addCriterion("work_name not in", values, "WorkName");
            return (Criteria) this;
        }

        public Criteria andWorkNameBetween(String value1, String value2) {
            addCriterion("work_name between", value1, value2, "WorkName");
            return (Criteria) this;
        }

        public Criteria andWorkNameNotBetween(String value1, String value2) {
            addCriterion("work_name not between", value1, value2, "WorkName");
            return (Criteria) this;
        }
        public Criteria andWorkLevelNumIsNull() {
            addCriterion("work_level_num is null");
            return (Criteria) this;
        }

        public Criteria andWorkLevelNumIsNotNull() {
            addCriterion("work_level_num is not null");
            return (Criteria) this;
        }

        public Criteria andWorkLevelNumEqualTo(Integer value) {
            addCriterion("work_level_num =", value, "WorkLevelNum");
            return (Criteria) this;
        }

        public Criteria andWorkLevelNumNotEqualTo(Integer value) {
            addCriterion("work_level_num <>", value, "WorkLevelNum");
            return (Criteria) this;
        }

        public Criteria andWorkLevelNumGreaterThan(Integer value) {
            addCriterion("work_level_num >", value, "WorkLevelNum");
            return (Criteria) this;
        }

        public Criteria andWorkLevelNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("work_level_num >=", value, "WorkLevelNum");
            return (Criteria) this;
        }

        public Criteria andWorkLevelNumLessThan(Integer value) {
            addCriterion("work_level_num <", value, "WorkLevelNum");
            return (Criteria) this;
        }

        public Criteria andWorkLevelNumLessThanOrEqualTo(Integer value) {
            addCriterion("work_level_num <=", value, "WorkLevelNum");
            return (Criteria) this;
        }

        public Criteria andWorkLevelNumIn(List<Integer> values) {
            addCriterion("work_level_num in", values, "WorkLevelNum");
            return (Criteria) this;
        }

        public Criteria andWorkLevelNumNotIn(List<Integer> values) {
            addCriterion("work_level_num not in", values, "WorkLevelNum");
            return (Criteria) this;
        }

        public Criteria andWorkLevelNumBetween(Integer value1, Integer value2) {
            addCriterion("work_level_num between", value1, value2, "WorkLevelNum");
            return (Criteria) this;
        }

        public Criteria andWorkLevelNumNotBetween(Integer value1, Integer value2) {
            addCriterion("work_level_num not between", value1, value2, "WorkLevelNum");
            return (Criteria) this;
        }
        public Criteria andWorkItemIdIsNull() {
            addCriterion("work_item_id is null");
            return (Criteria) this;
        }

        public Criteria andWorkItemIdIsNotNull() {
            addCriterion("work_item_id is not null");
            return (Criteria) this;
        }

        public Criteria andWorkItemIdEqualTo(Long value) {
            addCriterion("work_item_id =", value, "WorkItemId");
            return (Criteria) this;
        }

        public Criteria andWorkItemIdNotEqualTo(Long value) {
            addCriterion("work_item_id <>", value, "WorkItemId");
            return (Criteria) this;
        }

        public Criteria andWorkItemIdGreaterThan(Long value) {
            addCriterion("work_item_id >", value, "WorkItemId");
            return (Criteria) this;
        }

        public Criteria andWorkItemIdGreaterThanOrEqualTo(Long value) {
            addCriterion("work_item_id >=", value, "WorkItemId");
            return (Criteria) this;
        }

        public Criteria andWorkItemIdLessThan(Long value) {
            addCriterion("work_item_id <", value, "WorkItemId");
            return (Criteria) this;
        }

        public Criteria andWorkItemIdLessThanOrEqualTo(Long value) {
            addCriterion("work_item_id <=", value, "WorkItemId");
            return (Criteria) this;
        }

        public Criteria andWorkItemIdIn(List<Long> values) {
            addCriterion("work_item_id in", values, "WorkItemId");
            return (Criteria) this;
        }

        public Criteria andWorkItemIdNotIn(List<Long> values) {
            addCriterion("work_item_id not in", values, "WorkItemId");
            return (Criteria) this;
        }

        public Criteria andWorkItemIdBetween(Long value1, Long value2) {
            addCriterion("work_item_id between", value1, value2, "WorkItemId");
            return (Criteria) this;
        }

        public Criteria andWorkItemIdNotBetween(Long value1, Long value2) {
            addCriterion("work_item_id not between", value1, value2, "WorkItemId");
            return (Criteria) this;
        }
        public Criteria andWorkItemNameIsNull() {
            addCriterion("work_item_name is null");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameIsNotNull() {
            addCriterion("work_item_name is not null");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameEqualTo(String value) {
            addCriterion("work_item_name =", value, "WorkItemName");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameNotEqualTo(String value) {
            addCriterion("work_item_name <>", value, "WorkItemName");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameGreaterThan(String value) {
            addCriterion("work_item_name >", value, "WorkItemName");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameGreaterThanOrEqualTo(String value) {
            addCriterion("work_item_name >=", value, "WorkItemName");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameLessThan(String value) {
            addCriterion("work_item_name <", value, "WorkItemName");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameLessThanOrEqualTo(String value) {
            addCriterion("work_item_name <=", value, "WorkItemName");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameLike(String value) {
            addCriterion("work_item_name like", value, "WorkItemName");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameNotLike(String value) {
            addCriterion("work_item_name not like", value, "WorkItemName");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameIn(List<String> values) {
            addCriterion("work_item_name in", values, "WorkItemName");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameNotIn(List<String> values) {
            addCriterion("work_item_name not in", values, "WorkItemName");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameBetween(String value1, String value2) {
            addCriterion("work_item_name between", value1, value2, "WorkItemName");
            return (Criteria) this;
        }

        public Criteria andWorkItemNameNotBetween(String value1, String value2) {
            addCriterion("work_item_name not between", value1, value2, "WorkItemName");
            return (Criteria) this;
        }
        public Criteria andBatchJobIdIsNull() {
            addCriterion("batch_job_id is null");
            return (Criteria) this;
        }

        public Criteria andBatchJobIdIsNotNull() {
            addCriterion("batch_job_id is not null");
            return (Criteria) this;
        }

        public Criteria andBatchJobIdEqualTo(Long value) {
            addCriterion("batch_job_id =", value, "BatchJobId");
            return (Criteria) this;
        }

        public Criteria andBatchJobIdNotEqualTo(Long value) {
            addCriterion("batch_job_id <>", value, "BatchJobId");
            return (Criteria) this;
        }

        public Criteria andBatchJobIdGreaterThan(Long value) {
            addCriterion("batch_job_id >", value, "BatchJobId");
            return (Criteria) this;
        }

        public Criteria andBatchJobIdGreaterThanOrEqualTo(Long value) {
            addCriterion("batch_job_id >=", value, "BatchJobId");
            return (Criteria) this;
        }

        public Criteria andBatchJobIdLessThan(Long value) {
            addCriterion("batch_job_id <", value, "BatchJobId");
            return (Criteria) this;
        }

        public Criteria andBatchJobIdLessThanOrEqualTo(Long value) {
            addCriterion("batch_job_id <=", value, "BatchJobId");
            return (Criteria) this;
        }

        public Criteria andBatchJobIdIn(List<Long> values) {
            addCriterion("batch_job_id in", values, "BatchJobId");
            return (Criteria) this;
        }

        public Criteria andBatchJobIdNotIn(List<Long> values) {
            addCriterion("batch_job_id not in", values, "BatchJobId");
            return (Criteria) this;
        }

        public Criteria andBatchJobIdBetween(Long value1, Long value2) {
            addCriterion("batch_job_id between", value1, value2, "BatchJobId");
            return (Criteria) this;
        }

        public Criteria andBatchJobIdNotBetween(Long value1, Long value2) {
            addCriterion("batch_job_id not between", value1, value2, "BatchJobId");
            return (Criteria) this;
        }
        public Criteria andBatchJobInstIdIsNull() {
            addCriterion("batch_job_inst_id is null");
            return (Criteria) this;
        }

        public Criteria andBatchJobInstIdIsNotNull() {
            addCriterion("batch_job_inst_id is not null");
            return (Criteria) this;
        }

        public Criteria andBatchJobInstIdEqualTo(Long value) {
            addCriterion("batch_job_inst_id =", value, "BatchJobInstId");
            return (Criteria) this;
        }

        public Criteria andBatchJobInstIdNotEqualTo(Long value) {
            addCriterion("batch_job_inst_id <>", value, "BatchJobInstId");
            return (Criteria) this;
        }

        public Criteria andBatchJobInstIdGreaterThan(Long value) {
            addCriterion("batch_job_inst_id >", value, "BatchJobInstId");
            return (Criteria) this;
        }

        public Criteria andBatchJobInstIdGreaterThanOrEqualTo(Long value) {
            addCriterion("batch_job_inst_id >=", value, "BatchJobInstId");
            return (Criteria) this;
        }

        public Criteria andBatchJobInstIdLessThan(Long value) {
            addCriterion("batch_job_inst_id <", value, "BatchJobInstId");
            return (Criteria) this;
        }

        public Criteria andBatchJobInstIdLessThanOrEqualTo(Long value) {
            addCriterion("batch_job_inst_id <=", value, "BatchJobInstId");
            return (Criteria) this;
        }

        public Criteria andBatchJobInstIdIn(List<Long> values) {
            addCriterion("batch_job_inst_id in", values, "BatchJobInstId");
            return (Criteria) this;
        }

        public Criteria andBatchJobInstIdNotIn(List<Long> values) {
            addCriterion("batch_job_inst_id not in", values, "BatchJobInstId");
            return (Criteria) this;
        }

        public Criteria andBatchJobInstIdBetween(Long value1, Long value2) {
            addCriterion("batch_job_inst_id between", value1, value2, "BatchJobInstId");
            return (Criteria) this;
        }

        public Criteria andBatchJobInstIdNotBetween(Long value1, Long value2) {
            addCriterion("batch_job_inst_id not between", value1, value2, "BatchJobInstId");
            return (Criteria) this;
        }
        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "Status");
            return (Criteria) this;
        }
        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "Remark");
            return (Criteria) this;
        }
        public Criteria andErrorIsNull() {
            addCriterion("error is null");
            return (Criteria) this;
        }

        public Criteria andErrorIsNotNull() {
            addCriterion("error is not null");
            return (Criteria) this;
        }

        public Criteria andErrorEqualTo(String value) {
            addCriterion("error =", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorNotEqualTo(String value) {
            addCriterion("error <>", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorGreaterThan(String value) {
            addCriterion("error >", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorGreaterThanOrEqualTo(String value) {
            addCriterion("error >=", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorLessThan(String value) {
            addCriterion("error <", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorLessThanOrEqualTo(String value) {
            addCriterion("error <=", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorLike(String value) {
            addCriterion("error like", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorNotLike(String value) {
            addCriterion("error not like", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorIn(List<String> values) {
            addCriterion("error in", values, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorNotIn(List<String> values) {
            addCriterion("error not in", values, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorBetween(String value1, String value2) {
            addCriterion("error between", value1, value2, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorNotBetween(String value1, String value2) {
            addCriterion("error not between", value1, value2, "Error");
            return (Criteria) this;
        }
        public Criteria andDealCntIsNull() {
            addCriterion("deal_cnt is null");
            return (Criteria) this;
        }

        public Criteria andDealCntIsNotNull() {
            addCriterion("deal_cnt is not null");
            return (Criteria) this;
        }

        public Criteria andDealCntEqualTo(Integer value) {
            addCriterion("deal_cnt =", value, "DealCnt");
            return (Criteria) this;
        }

        public Criteria andDealCntNotEqualTo(Integer value) {
            addCriterion("deal_cnt <>", value, "DealCnt");
            return (Criteria) this;
        }

        public Criteria andDealCntGreaterThan(Integer value) {
            addCriterion("deal_cnt >", value, "DealCnt");
            return (Criteria) this;
        }

        public Criteria andDealCntGreaterThanOrEqualTo(Integer value) {
            addCriterion("deal_cnt >=", value, "DealCnt");
            return (Criteria) this;
        }

        public Criteria andDealCntLessThan(Integer value) {
            addCriterion("deal_cnt <", value, "DealCnt");
            return (Criteria) this;
        }

        public Criteria andDealCntLessThanOrEqualTo(Integer value) {
            addCriterion("deal_cnt <=", value, "DealCnt");
            return (Criteria) this;
        }

        public Criteria andDealCntIn(List<Integer> values) {
            addCriterion("deal_cnt in", values, "DealCnt");
            return (Criteria) this;
        }

        public Criteria andDealCntNotIn(List<Integer> values) {
            addCriterion("deal_cnt not in", values, "DealCnt");
            return (Criteria) this;
        }

        public Criteria andDealCntBetween(Integer value1, Integer value2) {
            addCriterion("deal_cnt between", value1, value2, "DealCnt");
            return (Criteria) this;
        }

        public Criteria andDealCntNotBetween(Integer value1, Integer value2) {
            addCriterion("deal_cnt not between", value1, value2, "DealCnt");
            return (Criteria) this;
        }
        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "StartTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "StartTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "StartTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "StartTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "StartTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "StartTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "StartTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "StartTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "StartTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "StartTime");
            return (Criteria) this;
        }
        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "EndTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "EndTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "EndTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "EndTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "EndTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "EndTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "EndTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "EndTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "EndTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "EndTime");
            return (Criteria) this;
        }
        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "UpdateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
